package com.example.zzmftp.service;

import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

public interface ZzmFtpService {

    /**
     * 上传
     * @param file
     * @return
     */
    String uploadFile(MultipartFile file);

    /**
     * 下载
     * @param filePath
     * @param response
     */
    void downloadFile(String filePath, HttpServletResponse response);

    /**
     * 删除
     * @param filePath
     */
    void deleteFile(String filePath);
}
